package com.bobi.tfca.model.constant.exception;

/**
 * 系统模块消息常量
 */
public class SysMessageConsts {

    // 登录模块
    public static final String CAPTCHA_ERROR = "验证码错误";

    public static final String CAPTCHA_EXPIRED = "验证码已过期";

    public static final String CAPTCHA_IS_BLANK = "验证码不能为空";

    public static final String CAPTCHA_NOT_ENABLE = "验证码未启用";

    public static final String USER_NAME_OR_PWD_ERROR = "用户名或密码错误";

    public static final String USER_NAME_IS_BLANK = "用户名不能为空";

    public static final String USER_PWD_IS_BLANK = "密码不能为空";

    public static final String USER_PWD_COMPARISON_NOT_EQUAL = "密码比对不一致";

    public static final String IP_NOT_ALLOW = "IP不允许登录";
    public static final String USER_PWD_IS_UTF8 = "密码不能为中文";
    // 用户模块
    public static final String CAN_NOT_DELETE_ADMIN = "管理员用户不能删除";

    public static final String USER_NOT_EXIST = "用户不存在";

    public static final String USER_NAME_EXIST = "用户名已存在";

    public static final String USER_STATUS_NOT_RIGHT = "用户状态不正确";

    // 角色模块
    public static final String ROLE_NOT_EXIST = "角色不存在";

    public static final String ROLE_HAS_USER = "角色下存在用户";

    public static final String SUPER_ROLE_CAN_NOT_DEL = "管理员角色不能删除";

    // 权限模块
    public static final String PERMISSION_NOT_EXIST = "权限不存在";

    public static final String PERMISSION_NAME_EXIST = "权限名称重复";
    public static final String PERMISSION_NAME_IS_BLANK = "权限名称不为空";

    public static final String PERMISSION_CODE_EXIST = "权限标识重复";
    public static final String PERMISSION_LINK_EXIST = "权限路由不能为空";
}
